# !/bin/usr/python
# _*_ coding=utf-8 _*_
# Filename : requestlibRequest.py

import requests
import time
import os


url = 'http://192.168.1.55/test.py'

# time
nowtime = time.strftime( '%Y-%m-%dT%H:%M:%S', time.localtime( time.time() ) )

# parames
payload = { 'name':'requestlib', 'SendDate':nowtime }

# head
header = { 'content-type':'application/x-www-form-urlencoded' }

# request
r = requests.post( url, params=payload, data=payload, headers=header )

print( r.text )